package SchoolSubjects;

public class People{ 
    public int number; 
    public String name; 
    public String sex; 
People(int number, String name, String sex){ 
    setNumber(number); 
    setName(name); 
    setSex(sex); 
    } 
int getNumber(){ 
    return number; 
    } 
String getName(){ 
    return name; 
    } 
String getSex(){ 
    return sex; 
    } 
void setNumber(int number){ 
    this.number = number; 
    } 
void setName(String name){ 
    this.name = name; 
    } 
void setSex(String sex){ 
    this.sex = sex; 
    } 
} 
